package com.moo.order.service;

import com.moo.order.model.Order;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Project Name: moo-order
 *
 * @Author: fhw
 * File Name: OrderService
 * Package Name: com.moo.order.service
 * Date: 2020/7/25 9:47 下午
 * Copyright (c) 2020,All Rights Reserved.
 */
public interface OrderService {

    /**
     * 订单列表
     *
     * @return
     */
    List<Order> listOrders();

    /**
     * 获取订单信息
     * @param id 订单ID
     * @return
     */
    Order findById(Long id);
}